package top.dingyingying.demo.service;

import top.dingyingying.demo.base.PageBean;
import top.dingyingying.demo.base.R;
import top.dingyingying.demo.entity.TbCpu;
import top.dingyingying.demo.vo.PageVo;

public interface TbCpuService {
    R<String> insert (TbCpu tbCpu);

    R<TbCpu> queryById(Integer id);

    R<PageVo<TbCpu>> queryPage(PageBean pageBean, TbCpu tbCpu);
    R<String> update(TbCpu tbCpu);

    R<String> delete(Integer id);
}
